#include <iostream>
#include <cstdio>
using namespace std;

class A{
public:
  double i;
  double& j;
  double k;
  A():j(i){}
};

int main(){
  A a;
  cout<<"sizeof(A)\t"<<sizeof(A)<<endl;
  cout<<"sizeof(double)\t"<<sizeof(double)<<endl;
  cout<<"sizeof(double&)\t"<<sizeof(double&)<<endl;
  double A::*pi = &A::i;
 //  double A::*pj = &A::j;
  double A::*pk = &A::k;

  printf("%p\t%p\n",pi,pk);
  return 0;
}
